package project1.dao;

import project1.model.Admin;
import project1.model.bo.AdminAddBO;

import java.util.List;

public interface AdminDao{
    Admin login(Admin admin);

    List<Admin> allAdmins();

    List<Admin> getSearchAdmins(Admin admin);
    void deleteAdmin(String id);

    void addAdmin(Admin admin);

    Admin getAdminInfo(String id);

    void updateAdmin(Admin admin);
}
